import { ADD, MINUS } from './constant'
// 创建为Count组件服务的action对象

// 返回对象时需要小括号包住对象
export const createAddAction = data => ({
    type: ADD, data
});
export const createMinusAction = data => ({
    type: MINUS, data
});